[paket]
tanim   = Makinenin donanım yapılandırması hakkında ayrıntılı bilgi sağlayan küçük bir araç.
paketci = Cihan_Alkan
grup    = sistem
url     = https://github.com/johanmalm/labwc

[gerek]
derleme =  
calisma =

[kaynak]
1       = https://github.com/lyonel/lshw/archive/refs/tags/$surum.tar.gz::$isim-$surum.tar.gz
2= https://notabug.org/aylinux/ceviriler/raw/master/lshw.po

[sha256]
#1       = c3087c0dc846c18499a335fe04c9bc46f014f7421739573636f6f8f746fd3c84

[derle]
betik = cp /sources/lshw.po src/po/tr.po
betik = sed -i 's/ fr/ tr/' src/po/Makefile
betik  = sed -i 's|/usr/bin/gtk-lshw|/usr/sbin/gtk-lshw|' src/gui/integration/gtk-lshw.desktop
betik  = make SBINDIR=/usr/bin
betik  = make SBINDIR=/usr/bin gui

[pakur]
betik  = make DESTDIR="$PKG"/ SBINDIR=/usr/bin install
betik  = make DESTDIR="$PKG"/ SBINDIR=/usr/bin install-gui
betik  = install -Dm0644 src/gui/integration/gtk-lshw.desktop "$PKG"/usr/share/applications/gtk-lshw.desktop
betik  = install -Dm0644 src/gui/integration/gtk-lshw.pam "$PKG"/usr/share/doc/$isim/gtk-lshw.pam
betik  = install -Dm0644 src/gui/integration/console.apps "$PKG"/usr/share/doc/$isim/console.apps
betik  = rm -f "$PKG"/usr/share/lshw/{pci,usb}.ids

